package com.zzty.dendi.entity;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

public class UserPage {
    private Integer totalPageNo;
    private Integer currentPage;
    private List<User> users;

    public Integer getTotalPageNo() {
        return totalPageNo;
    }

    public void setTotalPageNo(Integer totalPageNo) {
        this.totalPageNo = totalPageNo;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "UserPage{" +
                "totalPageNo=" + totalPageNo +
                ", currentPage=" + currentPage +
                ", users=" + users +
                '}';
    }
}
